home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateSimpleCheckBox.z / XmCreateSimpleCheckBox
Encoding:
Text File  |  2003-11-18  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_S_i_m_p_l_e_C_h_e_c_k_B_o_x - A RowColumn widget convenience
  10.       creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/RowColumn.h>
  14.  
  15.       Widget XmCreateSimpleCheckBox    (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,,    aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_S_i_m_p_l_e_C_h_e_c_k_B_o_x creates an instance of    a RowColumn
  23.       widget of type _X_m_W_O_R_K__A_R_E_A and returns the associated    widget
  24.       ID.
  25.  
  26.       This routine creates a CheckBox and its ToggleButtonGadget
  27.       children.  A CheckBox    is similar to a    RadioBox, except that
  28.       more than one    button can be selected at a time.  The name of
  29.       each button is button_nnnn, where nnnn is an integer from 0    to one
  30.       minus    the number of buttons in the menu.  Buttons are    named
  31.       and created in the order in which they are specified in the
  32.       RowColumn simple menu    creation resources supplied in the
  33.       argument list.
  34.  
  35.       ppppaaaarrrreeeennnntttt
  36.            Specifies the parent widget ID
  37.  
  38.       nnnnaaaammmmeeee Specifies the name of the created widget
  39.  
  40.       aaaarrrrgggglllliiiisssstttt
  41.            Specifies the argument list
  42.  
  43.       aaaarrrrggggccccoooouuuunnnntttt
  44.            Specifies the number of attribute/value pairs in    the
  45.            argument    list (aaaarrrrgggglllliiiisssstttt)
  46.  
  47.       A number of resources    exist specifically for use with    this
  48.       and other simple menu    creation routines.  The    only button
  49.       type allowed in the _X_m_N_b_u_t_t_o_n_T_y_p_e resource is    _X_m_C_H_E_C_K_B_U_T_T_O_N.
  50.       For a    complete definition of RowColumn and its associated
  51.       resources, see _X_m_R_o_w_C_o_l_u_m_n(_3_X).
  52.  
  53.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  54.       Returns the RowColumn    widget ID.
  55.  
  56.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  57.       _X_m_C_r_e_a_t_e_R_a_d_i_o_B_o_x(_3_X),    _X_m_C_r_e_a_t_e_R_o_w_C_o_l_u_m_n(_3_X),
  58.       _X_m_C_r_e_a_t_e_S_i_m_p_l_e_R_a_d_i_o_B_o_x(_3_X), _X_m_R_o_w_C_o_l_u_m_n(_3_X),
  59.       _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_C_h_e_c_k_B_o_x(_3_X),    and
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx((((3333XXXX))))
  71.  
  72.  
  73.  
  74.       _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_R_a_d_i_o_B_o_x(_3_X).
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 11/11/03)
  130.  
  131.  
  132.  
  133.